package com.charity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("charity_donation")
public class Donation implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long donationId;

    private Long projectId;

    private Long userId;

    private BigDecimal amount;

    private String donationName;

    private String donationMessage;

    private Integer donationType;

    private Integer payStatus;

    private String payMethod;

    private String transactionId;

    private Date donationTime;

    private Date createTime;

    private String remark;
}